package com.edu.app.model.wechat;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value="classpath:wechat.properties")
@ConfigurationProperties(prefix = "wechat")
public class WechatConfig {

    private String appid;
    private String appsecret;


    private String token;
    private String encodingAESKey;

    private String url;
    private String storeImplName;
    private String httpImplName;



    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStoreImplName() {
        return storeImplName;
    }

    public void setStoreImplName(String storeImplName) {
        this.storeImplName = storeImplName;
    }

    public String getHttpImplName() {
        return httpImplName;
    }

    public void setHttpImplName(String httpImplName) {
        this.httpImplName = httpImplName;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEncodingAESKey() {
        return encodingAESKey;
    }

    public void setEncodingAESKey(String encodingAESKey) {
        this.encodingAESKey = encodingAESKey;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }
}
